'Declaration
Protected Overloads Function Encrypt( _ ByVal dataToEncrypt As ArraySegment(Of Byte), _ ByVal headerToCopy As ArraySegment(Of Byte), _ ByVal receiverCertificate As X509Certificate2 _ ) As ArraySegment(Of Byte)
'Usage
Dim instance As UaSCUaBinaryChannel Dim dataToEncrypt As ArraySegment(Of Byte) Dim headerToCopy As ArraySegment(Of Byte) Dim receiverCertificate As X509Certificate2 Dim value As ArraySegment(Of Byte) value = instance.Encrypt(dataToEncrypt, headerToCopy, receiverCertificate)
protected ArraySegment<byte> Encrypt( ArraySegment<byte> dataToEncrypt, ArraySegment<byte> headerToCopy, X509Certificate2 receiverCertificate )
protected: ArraySegment<byte> Encrypt( ArraySegment<byte> dataToEncrypt, ArraySegment<byte> headerToCopy, X509Certificate2^ receiverCertificate )
Parameters
- dataToEncrypt
- headerToCopy
- receiverCertificate